﻿@{
    ViewData["Title"] = "管理中心";
}
@section PYhead{
<link href="~/css/Account.css" type="text/css" rel="stylesheet">
<link href="~/css/user-admin.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="~/js/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="~/js/jquery-ui.min.js"></script>
<script>
    $(document).ready(function () {
        $(".left-bar-btn").click(function () {
            var index = $(this).index();
            if (index == 0) {
                $(".ifm").attr("src", "/AcMana/UserManage");
            } else if (index == 1) {
                $(".ifm").attr("src", "/AcMana/ArticleManage");
            } else if (index == 2) {
                $(".ifm").attr("src", "/AcMana/CommentManage");
            } else {
                $(".ifm").attr("src", "/AcMana/ArticleCreate");
            }
        });
    });
</script>
<style>
    .itm-son-r {
        color: black;
    }
</style>
}

<div class="uc-topbar">
    <p class="top-item" style="float:left;position:absolute;left: 15px; width: 100px;z-index: 999;"><a asp-action="Index" asp-controller="Home">首页</a></p>
    <p class="top-item" style="z-index: 0;">管理中心</p>
    <partial name="_LoginPartical" />
</div>
<div class="maina">
    <div id="left-bar">
        <ul>
            <li class="left-bar-btn">用户管理</li>
            <li class="left-bar-btn">文章管理</li>
            <li class="left-bar-btn">评论管理</li>
            <li class="left-bar-btn">创建文章</li>
        </ul>
    </div>
    <div id="main-content">
        <iframe class="ifm" src="/AcMana/UserManage">
            你的浏览器不支持IFRAME
        </iframe>
    </div>
</div>